using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BONSAI.Common;
using BONSAI.Common.DTO;
using BONSAI.DAL;

namespace BONSAI.BLL
{
	public class AccountBO
	{
		public AccountDTO GetByID(string id)
		{
			return (new AccountDAO()).GetByID(id);
		}

		public IList<AccountDTO> GetAll()
		{
			return (new AccountDAO()).GetAll();
		}

		public string Insert(AccountDTO account)
		{
			return (new AccountDAO()).Insert(account);
		}

		public void UpdateByID(AccountDTO account)
		{
			(new AccountDAO()).UpdateByID(account);
		}

		public void DeleteByID(string id)
		{
			(new AccountDAO()).DeleteByID(id);
		}
	}
}

